#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2020/11/30 22:11
# @Author : 詹荣瑞
# @File : bonetex_demo.py
# @desc : 本代码未经授权禁止商用
from bonetex import *

doc = Document("elegantnote", {})
doc.pre_append(title("Title"))

sections = [Section("section1").append(CommandLine("asd", ["1", "2"], ["asd", "dddd"]))
            for _ in range(10)]

doc.body_append(*sections)
# print(CommandLine("asd", ["1", "2"], ["asd", "dddd"]).latex())
if __name__ == '__main__':
    print(doc.latex())
